package com.ahuan.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import java.util.Date;
@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private String userId;

    private String userName;

    private String password;

    private String userRealName;

    private String userSex;

    private String userMobile;

    private String userEmail;

    private String isLock;

    private String deptId;

    private String roleId;

    private String addUser;

    private String editUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date editTime;

    private String systemNo;

    private String deptName;
}